package com.kqb.mapper;

import com.kqb.pojo.User;

import java.io.Serializable;

import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SupplierUserMapper {
    /**
     * 添加供应商用户
     *
     * @param user
     * @return
     */
    public int save(User user);


    public int delete(Serializable id);

    /**
     * 根据用户名查询用户
     *
     * @param userName
     * @return
     */
    int queryUserByUserName(String userName);
}

